package com.lxmes.pm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 著作管理对象 a_book
 * 
 * @author zhangzhiyu
 * @date 2023-04-04
 */
public class ABook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 著作名称 */
    @Excel(name = "著作名称")
    private String bookName;

    /** 著作编号 */
    @Excel(name = "著作编号")
    private String bookNum;

    /** 著作作者 */
    @Excel(name = "著作作者")
    private String bookAuthor;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 类型 */
    @Excel(name = "类型")
    private String bookType;

    /** 出版单位 */
    @Excel(name = "出版单位")
    private String ssdw;

    /** 一级学科 */
    @Excel(name = "一级学科")
    private String yjxk;

    /** 统计年度 */
    @Excel(name = "统计年度")
    private String staYear;

    /** 总字数 */
    @Excel(name = "总字数")
    private String totalZs;

    /** 附件 */
    @Excel(name = "附件")
    private String paperFj;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookNum(String bookNum) 
    {
        this.bookNum = bookNum;
    }

    public String getBookNum() 
    {
        return bookNum;
    }
    public void setBookAuthor(String bookAuthor) 
    {
        this.bookAuthor = bookAuthor;
    }

    public String getBookAuthor() 
    {
        return bookAuthor;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setBookType(String bookType) 
    {
        this.bookType = bookType;
    }

    public String getBookType() 
    {
        return bookType;
    }
    public void setSsdw(String ssdw) 
    {
        this.ssdw = ssdw;
    }

    public String getSsdw() 
    {
        return ssdw;
    }
    public void setYjxk(String yjxk) 
    {
        this.yjxk = yjxk;
    }

    public String getYjxk() 
    {
        return yjxk;
    }
    public void setStaYear(String staYear) 
    {
        this.staYear = staYear;
    }

    public String getStaYear() 
    {
        return staYear;
    }
    public void setTotalZs(String totalZs) 
    {
        this.totalZs = totalZs;
    }

    public String getTotalZs() 
    {
        return totalZs;
    }
    public void setPaperFj(String paperFj) 
    {
        this.paperFj = paperFj;
    }

    public String getPaperFj() 
    {
        return paperFj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookName", getBookName())
            .append("bookNum", getBookNum())
            .append("bookAuthor", getBookAuthor())
            .append("state", getState())
            .append("bookType", getBookType())
            .append("ssdw", getSsdw())
            .append("yjxk", getYjxk())
            .append("staYear", getStaYear())
            .append("totalZs", getTotalZs())
            .append("paperFj", getPaperFj())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
